package com.ruoyi.system.domain.frock;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工装管理基础对象 frock_seat
 *
 * @author ruoyi
 * @date 2023-04-20
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("frock_seat")
public class FrockSeat implements Serializable {

private static final long serialVersionUID=1L;


        /** 工装主键id */
        @TableId(value = "frock_id")
    private Long frockId;

        /** 工装编码 */
        @ApiModelProperty(value = "工装编码")
    private String frockCode;

        /** 工装名称 */
        @ApiModelProperty(value = "工装名称")
    private String frockName;

        /** 工装规格 */
        @ApiModelProperty(value = "工装规格")
    private String frockSpes;

        /** 厂家 */
        @ApiModelProperty(value = "厂家")
    private String factory;

        /** 尺寸 */
        @ApiModelProperty(value = "尺寸")
    private String size;

        /** 记录日期 */
        @ApiModelProperty(value = "记录日期 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordDate;

        /** 产品id 多个 */
        @ApiModelProperty(value = "产品id 多个")
    private String productId;

    @ApiModelProperty(value = "产品id数组")
    @TableField(exist = false)
    private List<Long> productIds;

    @ApiModelProperty(value = "产品名称数组")
    @TableField(exist = false)
    private List<String> productNames;

        /** 工位id 多个 */
        @ApiModelProperty(value = "工位id 多个")
    private String shopId;

    @ApiModelProperty(value = "工位id数组")
    @TableField(exist = false)
    private List<Long> shopIds;

    @ApiModelProperty(value = "工位名称数组")
    @TableField(exist = false)
    private List<String> shopNames;

        /** 设定寿命时长（天） */
        @ApiModelProperty(value = "设定寿命时长")
    private Integer life;

        /** 设定次数 */
        @ApiModelProperty(value = "设定次数")
    private Integer number;

        /** 状态1新建2已绑定3已解绑4报废 */
        @ApiModelProperty(value = "状态1新建2已绑定3已解绑4报废")
    private Integer status;

        /** 创建者 */
        private String createBy;

        /** 创建时间 */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        /** 更新者 */
        private String updateBy;

        /** 更新时间 */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;
}
